2 phase locking protocol example